<%--
  Created by IntelliJ IDEA.
  User: 常肖飞先生
  Date: 2022/5/27
  Time: 12:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>档案修改页面</title>
</head>
<body>
<% Integer Id = Integer.parseInt(request.getParameter("profileId")); %>

<div align="center">
    <form action="${pageContext.request.contextPath }/List?method=update&profileid=<%=Id%>" method="post">
        <table>
            <tr>
                <td>编号</td>
                <td><%=Id%></td>
            </tr>
            <tr>
                <td>姓名</td>
                <td><input type="text" name="name"></td>
            </tr>
            <tr>
                <td>生日</td>
                <td><input type="text" name="birthday"></td>
            </tr>
            <tr>
                <td>性别</td>
                <td><input type="text" name="gender"></td>
            </tr>
            <tr>
                <td>职业</td>
                <td><input type="text" name="career"></td>
            </tr>
            <tr>
                <td>住所</td>
                <td><input type="text" name="address"></td>
            </tr>

            <tr>
                <td>电话</td>
                <td><input type="text" name="mobile"></td>
            </tr>
            <div class="form-group form-inline">
                <label>头像</label>
                <input type="file" name="picture"/>
            </div>
            <tr>
                <td>
                    <button>提交</button>
                </td>
                <td><input type="reset" name="重置"></td>
            </tr>
        </table>

        ${msg}
    </form>
</div>
</body>
</html>
